package com.geek.water.constant;

/**
 * @Author ywq
 * @Description 返回消息常量类
 */
public interface MessageConstant {
    // -------- 通用操作 --------
    public static final String SUCCESS                = "操作成功";
    public static final String FAIL                   = "操作失败";
    public static final String PARAM_INVALID          = "参数校验失败";
    public static final String INTERNAL_ERROR         = "系统内部错误，请稍后重试";

    // -------- 设备管理 --------
    public static final String ADD_DEVICE_SUCCESS     = "新增设备成功";
    public static final String ADD_DEVICE_FAIL        = "新增设备失败";
    public static final String DELETE_DEVICE_SUCCESS  = "删除设备成功";
    public static final String DELETE_DEVICE_FAIL     = "删除设备失败";
    public static final String UPDATE_DEVICE_SUCCESS  = "更新设备信息成功";
    public static final String UPDATE_DEVICE_FAIL     = "更新设备信息失败";
    public static final String QUERY_DEVICE_SUCCESS   = "查询设备成功";
    public static final String QUERY_DEVICE_FAIL      = "查询设备失败";
    public static final String UPLOAD_DEVICE_DATA_SUCCESS = "设备数据上传成功";
    public static final String UPLOAD_DEVICE_DATA_FAIL    = "设备数据上传失败";
    // 设备序列号相关提示
    public static final String DEVICE_SERIAL_EXIST = "设备序列号已存在，请核实后重新填写";

    // -------- 客户管理 --------
    public static final String ADD_CUSTOMER_SUCCESS   = "新增客户成功";
    public static final String ADD_CUSTOMER_FAIL      = "新增客户失败";
    public static final String DELETE_CUSTOMER_SUCCESS= "删除客户成功";
    public static final String DELETE_CUSTOMER_FAIL   = "删除客户失败";
    public static final String UPDATE_CUSTOMER_SUCCESS= "更新客户信息成功";
    public static final String UPDATE_CUSTOMER_FAIL   = "更新客户信息失败";
    public static final String QUERY_CUSTOMER_SUCCESS = "查询客户成功";
    public static final String QUERY_CUSTOMER_FAIL    = "查询客户失败";

    // -------- 站点与区域 --------
    public static final String ADD_SITE_SUCCESS       = "新增站点成功";
    public static final String ADD_SITE_FAIL          = "新增站点失败";
    public static final String UPDATE_SITE_SUCCESS    = "更新站点成功";
    public static final String UPDATE_SITE_FAIL       = "更新站点失败";
    public static final String DELETE_SITE_SUCCESS    = "删除站点成功";
    public static final String DELETE_SITE_FAIL       = "删除站点失败";
    public static final String QUERY_SITE_SUCCESS     = "查询站点成功";
    public static final String QUERY_SITE_FAIL        = "查询站点失败";

    public static final String ADD_AREA_SUCCESS       = "新增区域成功";
    public static final String ADD_AREA_FAIL          = "新增区域失败";
    public static final String UPDATE_AREA_SUCCESS    = "更新区域成功";
    public static final String UPDATE_AREA_FAIL       = "更新区域失败";
    public static final String DELETE_AREA_SUCCESS    = "删除区域成功";
    public static final String DELETE_AREA_FAIL       = "删除区域失败";
    public static final String QUERY_AREA_SUCCESS     = "查询区域成功";
    public static final String QUERY_AREA_FAIL        = "查询区域失败";

    // -------- 账单与缴费 --------
    public static final String GENERATE_BILL_SUCCESS  = "账单生成成功";
    public static final String GENERATE_BILL_FAIL     = "账单生成失败";
    public static final String QUERY_BILL_SUCCESS     = "查询账单成功";
    public static final String QUERY_BILL_FAIL        = "查询账单失败";
    public static final String PAY_BILL_SUCCESS       = "账单支付成功";
    public static final String PAY_BILL_FAIL          = "账单支付失败";
    public static final String PAY_BILL_PARTIAL       = "账单部分支付成功";
    public static final String BILL_OVERDUE_REMIND    = "账单逾期催缴提醒已发送";


    // -------- 支付与退款记录 --------
    public static final String RECORD_PAYMENT_SUCCESS = "记录支付成功";
    public static final String RECORD_PAYMENT_FAIL    = "记录支付失败";
    public static final String RECORD_REFUND_SUCCESS  = "记录退款成功";
    public static final String RECORD_REFUND_FAIL     = "记录退款失败";
    public static final String REFUND_INITIATE_SUCCESS= "退款发起成功";
    public static final String REFUND_INITIATE_FAIL   = "退款发起失败";
    public static final String REFUND_COMPLETE_SUCCESS= "退款完成";
    public static final String REFUND_COMPLETE_FAIL   = "退款失败";
    String QUERY_PAYMENT_SUCCESS  = "查询支付记录成功";
    String QUERY_PAYMENT_FAIL     = "查询支付记录失败";
    String PAYMENT_NOT_EXIST      = "支付记录不存在";


    // -------- 发票管理 --------
    public static final String APPLY_INVOICE_SUCCESS  = "发票申请成功";
    public static final String APPLY_INVOICE_FAIL     = "发票申请失败";
    public static final String QUERY_INVOICE_SUCCESS  = "查询发票成功";
    public static final String QUERY_INVOICE_FAIL     = "查询发票失败";
    public static final String DOWNLOAD_INVOICE_SUCCESS = "发票下载成功";
    public static final String DOWNLOAD_INVOICE_FAIL  = "发票下载失败";
    public static final String INVOICE_APPLY_SUCCESS  = "发票申请成功";
    public static final String INVOICE_APPLY_FAIL     = "发票申请失败";

    // -------- 工单系统 --------
    public static final String CREATE_WORKORDER_SUCCESS   = "工单创建成功";
    public static final String CREATE_WORKORDER_FAIL      = "工单创建失败";
    public static final String ASSIGN_WORKORDER_SUCCESS   = "工单派单成功";
    public static final String ASSIGN_WORKORDER_FAIL      = "工单派单失败";
    public static final String COMPLETE_WORKORDER_SUCCESS = "工单完成成功";
    public static final String COMPLETE_WORKORDER_FAIL    = "工单完成失败";
    public static final String QUERY_WORKORDER_SUCCESS    = "查询工单成功";
    public static final String QUERY_WORKORDER_FAIL       = "查询工单失败";
    public static final String EVALUATE_WORKORDER_SUCCESS = "工单评价成功";
    public static final String EVALUATE_WORKORDER_FAIL    = "工单评价失败";
    public static final String UPDATE_WORKORDER_STATUS_SUCCESS = "工单状态更新成功";
    public static final String UPDATE_WORKORDER_STATUS_FAIL    = "工单状态更新失败";
    public static final String WORKORDER_NOT_EXIST        = "工单不存在";

    // -------- 通知模板与日志 --------
    public static final String QUERY_MESSAGE_TEMPLATE_SUCCESS = "查询消息模板成功";
    public static final String QUERY_MESSAGE_TEMPLATE_FAIL    = "查询消息模板失败";
    public static final String QUERY_MESSAGE_LOG_SUCCESS      = "查询消息日志成功";
    public static final String QUERY_MESSAGE_LOG_FAIL         = "查询消息日志失败";
    // MessageConstant.java 补充常量
    String RESEND_MESSAGE_SUCCESS = "消息重发成功";
    String RESEND_MESSAGE_FAIL = "消息重发失败";
    String TEMPLATE_CONTENT_TOO_LONG = "消息内容长度不能超过1000字符";

    // -------- 告警日志 --------
    public static final String ALERT_RAISED                = "系统告警已触发";
    public static final String ALERT_RESOLVED              = "系统告警已处理";

    // -------- 用户与权限 --------
    public static final String ADD_USER_SUCCESS            = "新增用户成功";
    public static final String ADD_USER_FAIL               = "新增用户失败";
    public static final String UPDATE_USER_SUCCESS         = "更新用户成功";
    public static final String UPDATE_USER_FAIL            = "更新用户失败";
    public static final String DELETE_USER_SUCCESS         = "删除用户成功";
    public static final String DELETE_USER_FAIL            = "删除用户失败";
    public static final String GET_USER_SUCCESS            = "获取用户信息成功";
    public static final String GET_USER_FAIL               = "获取用户信息失败";
    public static final String QUERY_USER_LIST_SUCCESS     = "查询用户列表成功";
    public static final String QUERY_USER_LIST_FAIL        = "查询用户列表失败";
    public static final String UPDATE_USER_STATUS_SUCCESS  = "更新用户状态成功";
    public static final String UPDATE_USER_STATUS_FAIL     = "更新用户状态失败";
    public static final String RESET_PASSWORD_SUCCESS      = "重置用户密码成功";
    public static final String RESET_PASSWORD_FAIL         = "重置用户密码失败";
    public static final String PASSWORD_CANNOT_BE_EMPTY    = "新密码不能为空";
    public static final String INVALID_STATUS_VALUE        = "状态值无效，只能是enabled或disabled";
    public static final String USER_NOT_EXIST              = "用户不存在";
    public static final String USERNAME_ALREADY_EXISTS     = "用户名已存在";
    public static final String NON_ADMIN_MUST_SELECT_CUSTOMER = "非系统管理员必须选择所属客户";

    // -------- 权限管理 --------
    public static final String GET_USER_PERMISSIONS_SUCCESS = "获取用户权限成功";
    public static final String GET_USER_PERMISSIONS_FAIL    = "获取用户权限失败";
    public static final String SAVE_USER_PERMISSIONS_SUCCESS = "保存用户权限成功";
    public static final String SAVE_USER_PERMISSIONS_FAIL   = "保存用户权限失败";
    public static final String PERMISSION_IDS_CANNOT_BE_EMPTY = "权限ID列表不能为空";

    // -------- 角色管理 --------
    public static final String ASSIGN_ROLE_SUCCESS         = "用户分配角色成功";
    public static final String ASSIGN_ROLE_FAIL            = "用户分配角色失败";
    public static final String UPLOAD_IMAGE_SUCCESS = "上传图像成功";
    public static final String UPLOAD_IMAGE_FAIL = "上传图像失败";


    // -------- 登录与认证 --------
    public static final String LOGIN_SUCCESS               = "登录成功";
    public static final String LOGIN_FAIL                  = "登录失败";
    public static final String LOGOUT_SUCCESS              = "登出成功";
    public static final String LOGOUT_FAIL                 = "登出失败";
    public static final String TOKEN_REFRESH=  "登录信息刷新成功";
    public static final String TOKEN_EMPTY =  "请重新登录，再访问服务";
    public static final String ACCESS_TOKEN_VERIFY_FAIL ="访问令牌过期";
    public static final String REFRESH_TOKEN_VERIFY_FAIL ="刷新令牌过期";
    public static final String TOKEN_ILLEGAL ="登录信息不合法";
    public static final String QUERY_SUCCESS = "查询成功";

    public static final String PIC_UPLOAD_FAIL="图片上传成功";
    public static final String PIC_UPLOAD_SUCCESS="图片上传成功";
    public static final String PIC_DELETE_SUCCESS="图片删除成功";
    public static final String PIC_DELETE_FAIL="图片删除成功";


    public static final String GET_MENU_SUCCESS="获取菜单成功";
    public static final String GET_MENU_FAIL="获取菜单失败";

    public static final String GET_ROLE_SUCCESS="获取角色信息成功";
    public static final String GET_ROLE_FAIL="获取角色信息失败";
    public static final String SEND_VALIDATE_CODE_SUCCESS="发送验证码成功";
    public static final String SEND_VALIDATE_CODE_FAIL="发送验证码失败";
    public static final String SEND_VALIDATE_CODE_HAS="已有验证码";
    public static final String VALIDATE_CODE_ERROR_OR_EXPIRED="验证码错误或已过期";
    public static final String PHONE_NUMBER_AND_VALIDATE_CODE_CANNOT_BE_EMPTY="手机号和验证码不能为空";
    public static final String TOKEN_REDIS_NULL="redis中令牌不存在";









}
